package com.xc.pojo;

/**
 * 星晨
 */
public class Student {
    private int studentid;//id
    private String studentname;//名字
    private String studentpswd;//密码
    private int studentage;//年龄
    private int studentsex;//性别

    public Student() {
    }

    public Student(int studentid, String studentname, String studentpswd, int studentage, int studentsex) {
        this.studentid = studentid;
        this.studentname = studentname;
        this.studentpswd = studentpswd;
        this.studentage = studentage;
        this.studentsex = studentsex;
    }

    public int getStudentid() {
        return studentid;
    }

    public void setStudentid(int studentid) {
        this.studentid = studentid;
    }

    public String getStudentname() {
        return studentname;
    }

    public void setStudentname(String studentname) {
        this.studentname = studentname;
    }

    public String getStudentpswd() {
        return studentpswd;
    }

    public void setStudentpswd(String studentpswd) {
        this.studentpswd = studentpswd;
    }

    public int getStudentage() {
        return studentage;
    }

    public void setStudentage(int studentage) {
        this.studentage = studentage;
    }

    public int getStudentsex() {
        return studentsex;
    }

    public void setStudentsex(int studentsex) {
        this.studentsex = studentsex;
    }

    @Override
    public String toString() {
        return "Student{" +
                "studentid=" + studentid +
                ", studentname='" + studentname + '\'' +
                ", studentpswd='" + studentpswd + '\'' +
                ", studentage=" + studentage +
                ", studentsex=" + studentsex +
                '}';
    }
}
